#ifndef _STATIC_TRACKLET_
#define _STATIC_TRACKLET_

// Includes:
#include <sensor_msgs/CameraInfo.h>
#include "tracklet.h"

// -----------------------------------
class StaticTracklet : public Tracklet
// -----------------------------------
{
	protected:
		cv::Rect roi;

	public:
	    // -----------------------------------------------
        StaticTracklet(int width, int height) : Tracklet()
        // -----------------------------------------------
        {   
            // Set the ROI
            this->roi = cv::Rect(0, 0, width, height);
        }

		// ------------------------------------------------
		virtual void update(geometry_msgs::PointStamped pt)
		// ------------------------------------------------
		{
			// Do nothing
		}
		
		// ------------------
		virtual void update()
		// ------------------
		{
			// Do nothing
		}

		// ------------------------------------------
		virtual cv::Rect getROI(string&, ros::Time t)
		// ------------------------------------------
		{
			return this->roi;
		}

		// ----------------------------
		virtual bool contains(double d)
		// ----------------------------
		{
			// This one contains everything
			return true;
		}
};

#endif /* _STATIC_TRACKLET_ */
